<?php
// +----------------------------------------------------------------------
// | park_server [ THE PROJECT NAME IS park_server ]
// +----------------------------------------------------------------------
// | FileName: SceneSpotExporter.php
// +----------------------------------------------------------------------
// | Function: 景点导出配置
// +----------------------------------------------------------------------
// | Site ( http://www.qqdeveloper.com )
// +----------------------------------------------------------------------
// | Author: 卡二条 <2665274677@qq.com>
// +----------------------------------------------------------------------
declare(strict_types=1);

namespace App\Admin\Extensions;

use Encore\Admin\Grid\Exporters\ExcelExporter;

class SceneSpotExporter extends ExcelExporter
{
    protected $fileName = '景点信息.xlsx';

    protected $columns = [
        'id'              => '数据编号',
        'name'            => '景点名称',
        'open_start_time' => '营业开始时间',
        'open_end_time'   => '营业结束时间',
        'star_leave'      => '景点星级',
        'phone_number'    => '联系电话',
        'mobile_number'   => '座机电话',
        'detail_address'  => '景区详细地址',
        'keywords'        => '景区标签'
    ];

}